$ # + Glossary
Argument
Binding
Buffer
Clipboard
Command
DOS Box
File Locking
Function
Group
Keyboard Macro
Keystroke
Kill Buffer
Kill Ring
Macro
Mark
Message Line
Meta Key
Mode Line
Mouse Action
Page
Path
Point
Popup Buffer
Region
Screen
Selection
Variable
Window

$ # + K A DOS Box is a Microsoft Windows feature within which DOS programs are executed. In Windows "386-enhanced" mode, a DOS box can appear as an icon, a window or it can occupy the whole screen. In Windows "standard" mode, DOS programs can execute only when their DOS box occupies the whole screen.
Under Windows NT, the equivalent of DOS Boxes are named "shell boxes"

$ # + K Commands are built in functions that represent basic things that MicroEMACS does. For example, the up arrow key activates the "previous-line" command which moves the cursor up to the line of text immediately before the current line.

$ # + K A binding is a link between a sequence of keys and a command or macro. For instance, the command "previous-line" is bound to the up-arrow key, and to the ^P key. Pressing a key sequence causes the command to which it is bound to execute.
Under Microsoft Windows, commands and macros can also be bound to menu items.

$ # + K The meta key is the key used to start many commands. On most keyboards this is the Escape key, but many times it is rebound/changed to the key in the upper left corner of the keyboard. This is often the grave accent symbol.

$ # + K Interactively, a numeric argument is supplied by typing the meta key (usually the Escape key), followed by a decimal number, before invoking a command.
Within the macro language, a numeric argument is placed before the name of the associated command.

$ # + K Buffers are areas of memory set aside to hold text. Each buffer has a buffer name which is used to refer to it, and a file name from which it has been read or where it will be written.

$ # + K Popup Buffers are a way to display a buffer temporarily, without using a window. When a popup buffer is displayed, it occupies the whole screen. If more than one screenfull is needed, the text "-- more --" appears on the message line. The next screenfull can be viewed by pressing the space bar. Pressing any other key cancels the popup buffer and the keystroke is then processed  by MicroEMACS.

$ # + K Windows are sections of the current screen which display a portion of a buffer. More than one window may be visible at a time. Multiple windows split the screen horizontally.
Notice that the MicroEMACS usage of the word window is different from the meaning used in window-based systems:
MicroEMACS	Operating System
Window	Pane
Screen	Window

$ # + K Screens are collections of windows. On a older text style system, one screen is displayed at a time. On a newer window based system, like OS/2, the Macintosh or Microsoft Windows, each operating system window can display a different MicroEMACS screen.
Notice that the MicroEMACS usage of the word window is different from the meaning used in window-based systems:
MicroEMACS	Operating System
Window	Pane
Screen	Window

$ # + K The mode line is the line at the bottom of each window naming the buffer being displayed, along with its file name. Also the active modes of the window are shown.

$ # + K The command line or message line is the line at the bottom of the screen where you give more information to some commands and also receive information or error messages.

$ # + K Macros (also called procedures) are programs written in the MicroEMACS language which let you customize the editor and, in particular, automate repetitive editing tasks.
$ # + K A keyboard macro is a remembered sequence of keystrokes which can be used to greatly speed quick and dirty repetitive editing.

$ # + K Pages are groups of macros which have been written to handle a particular editing task, and which have been packaged to be available from the MicroEMACS startup file. These files usually have a filename extension of ".CMD".
The MS-Windows version of MicroEMACS is bundled with sample macro pages called CUA.CMD, DEV.CMD and MDI.CMD.

$ # + K The path is a list of directories that MicroEMACS searches for the following files:
EMACS.RC (the startup file)
The argument of the execute-file command
The argument of the &find function
The default DOSEXEC.PIF and DOSBOX.PIF files
EMACS.HLP (for the help command)
The following items compose the path (in order of decreasing priority):
1.	The directory specified by the HOME system variable (or, under MS-Windows, the directory where the MicroEMACS executable resides).
2.	The current working directory.
3.	The directories specified in the PATH system variable.
4.	The following directories (MS-DOS-based or Windows NT systems only. Other implementations use different lists):
	\sys\public
	\usr\bin
	\bin
	\

$ # + K The point is the position of the cursor in the text of the current window. The point can be considered to lie between the character the cursor rests on and the one immediately after it.

$ # + K The mark is the position in the current buffer which delimits the beginning or the end of a region. Various commands operate on text from the mark to the point, or move the current point to the mark. The mark can be set by the set-mark command.
Each buffer contains 16 independent marks, numbered 0 to 15. Most region-related commands, however, only refer to mark 0.
Marks 10 to 15 are reserved for use by macros. Marks 0 to 9 are reserved for interactive use.
Marks 11 and 12 are used internally by MicroEMACS by the mouse-region-down and mouse-region-up commands.

$ # + K A region is the text located between the point (i.e. the position of the cursor) and the mark number 0. The mark can be set by the set-mark command.

$ # + K The selection is available only if the macros from the CUA.CMD page have been loaded. It is the piece of text that has been selected by dragging the mouse (with the left button held down) over it, or by moving (with the arrow or the page keys) through the text with the Shift key held down.
The CUA.CMD file is distributed as part of the MicroEMACS for Windows package.
In the current version of MicroEMACS, the selection is not highlighted.

$ # + K The clipboard is a temporary storage area. Text can be cut or copied to the clipboard from a Windows application and be pasted into another application.

$ # + K Variables are elements of the MicroEMACS macro language. They carry numeric, boolean or string values.
Variables that begin with a dollar sign "$" are called environmental variables. They control various aspects of the editor.

$ # + K Functions are elements of the MicroEMACS macro language. Functions have arguments and return numeric, boolean or string values.
Function names begin by an ampersand "&". Only the first 3 characters of a function name are significant.

$ # + K Groups can be used with text substitution commands or macros in MAGIC mode, to duplicate parts of the target into the result.
In the search string, a group is defined as a portion beginning by the characters backlash and opening parenthesis "\(" and ended by the characters backlash and closing parenthesis "\)". There can be up to nine such groups.
In the replace string, groups appear as a backlash followed by a decimal digit ("\1" to "\9"). The portion of the target string matched by the nth group is substituted to each occurrence of \n to form the replacement string.
The function &group n can be used in macros to obtain the text matched by the nth group in a search.

$ # + K MicroEMACS may implement file locking to prevent simultaneous access of the same file by different MicroEMACS instances. The method used for this is dependant on the base operating system.
File locking is active only if MicroEMACS was compiled with a specific "FILOCK" option. Standard release versions usually do not implement file locking.

$ # + K The kill buffer accumulates any text which is "killed" by a number of delete commands. If more than one delete command is used in a row, all the text from all the commands will be in the kill buffer. Using any command between deletes causes the kill buffer to just hold the most recent deletions.
Using this feature and the yank command, you can switch between windows, screens and files and copy text from one file to another.There is no limit to the amount of text that can be stored in the kill buffer except that of the memory of the computer running MicroEMACS. Extremely large kills may take a few seconds.
The last 16 kill buffers are kept in the kill ring. You can retrieve their contents through the cycle-ring or the yank-pop commands.

$ # + K The kill ring is a circular list of the last 16 kill buffers. The position of the current kill buffer can be changed by the cycle-ring and the yank-pop commands. The kill ring can be emptied (and thus the used memory reclaimed) by using the delete-kill-ring command.

$ # + K Mouse Syntax
Key bindings can include mouse actions which are represented as follows:
	 	Press	Release
	Left button:	MSa	MSb
	Center button:	MSc	MSd
	Right button:	MSe	MSf
	Shift+Left button:	S-MSa	S-MSb
	Shift+Center button:	S-MSc	S-MSd
	Shift+Right button:	S-MSe	S-MSf
	Ctrl+Left button:	MS^a	MS^b
	Ctrl+Center button:	MS^c	MS^d
	Ctrl+Right button:	MS^e	MS^f
Mouse movement: MSm
Dropping files dragged from the MS-Windows File Manager: MS!

$ # + K Keystroke Syntax:
In key bindings, regular characters are represented by the corresponding uppercase, preceded by a hat "^" sign if the Ctrl key is depressed. For instance, for Ctrl+G: ^G.
Ctrl+SPACE is represented by ^@.
Function keys are represented as:
	F1 to F9, F10:	FN1 to FN9, FN0
	Arrows:	up FNP,  down FNN,  left FNB,  right FNF
	Page keys:	up FNZ,  down FNV
	Other keys:	Home: FN<,  End: FN>,  Insert: FNC,  Del: FND (or ^?)
If the Ctrl key is depressed for a function key, the hat "^" is located before the last char. For instance, for Ctrl+F1: FN^1.
The prefix, if any, appears before the keystroke:
	M-	the meta key (usually the Escape key) is depressed and released.
	^X	the Ctrl+X keys are depressed and released.
	A-	the Alt key is depressed.
	S-	(function keys only) the Shift key is depressed.